<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>public</title>
</head>
<body>
    <div>
        <div>
            <div>卖家你好，
                <!--TODO-->
                <a href="/html/logout.html"></a>
            </div>
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="/html/public.html">发布</a></li>
            </ul>
        </div>
    </div>
    <div>
        <div>
            <h2>内容发布</h2>
        </div>
        <div>
            <form action="/publicSubmit.do" method="POST">
                <div>
                    <label>标题：</label>
                    <div><input name="title" autofocus placeholder="20-80字符"></div>
                </div>
                <div>
                    <label>摘要：</label>
                    <div><input name="summary" placeholder="2-140字符"> </div>
                </div>
                <div>
                    <label>图片：</label>
                    <div>
                        <input name="pic" type="radio" value="url" checked>图片地址
                        <input name="pic" type="radio" value="file">本地上传
                    </div>
                </div>
                <!--TODO-->
                <div>
                    <div><input name="image" placeholder="图片地址"></div>
                    <div style="display:none">
                        <input name="file" type="file" >
                        <button id="upload">上传</button>
                    </div>
                </div>
                <div>
                    <label>正文：</label>
                    <div><textarea name="detail" rows="10" placeholder="2-1000个字符"></textarea></div>
                </div>
                <div>
                    <label>价格：</label>
                    <div><input name="price">元</div>
                </div>
                <div>
                    <div><button type="submit">发布</button></buttoon></div>
                </div>
            </form>
            <span>
                <img>
            </span>
        </div>
    </div>
    <div>footer</div>
</body>
</html>